package cn.onesdream.app.dao.mapper;

import cn.onesdream.app.dao.entity.Planet;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

@Repository
public interface PlanetMapper extends BaseMapper<Planet> {

    /**
     * 根据星球id获取星球详细信息
     * @param planetId
     * @return
     */
    Planet getPlanetById(Integer planetId);
}
